﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="MakeIT.Alf.Site.Apresentacao._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <asp:MultiView ID="mvImovel" runat="server">
        <asp:View ID="vResultado" runat="server">
            <div class="titulo">
                IMÓVEIS
            </div>
            <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td>
            <asp:Repeater ID="Repeater1" runat="server">
                <ItemTemplate>
                    <asp:HyperLink ID="HyperLink1" runat="server" Font-Underline="false" NavigateUrl='<%# "produtoDetalhe.aspx?idImovel=" + Eval("PKString") %>'>
                        <div class="proDestaque">
                            <img class='proImg' border="0" src='<%# "DownImovelxfotoFotoMedium.aspx?idImovelxfoto=" + Eval("idImovelxfotoVO.idImovelxfoto") %>' />
                            <div class="codigo">
                                Cód.:
                                <asp:Label ID="lblIdImovel" runat="server" Text='<%#Eval("idImovel") %>'></asp:Label>
                                <br />
                                <span class="txtAzul">
                                    <asp:Label ID="Label1" runat="server" Font-Size="12px" Text='<%#String.Format("{0}", Eval("vendaLocacao")) %>'></asp:Label>
                                </span>
                            </div>
                            <br />
                            <div>
                                <span class="txtAzul16">
                                    <asp:Label ID="lblDescricao" runat="server" Text='<%#Eval("titulo") %>'></asp:Label>
                                </span>
                                <br />
                                <span class="txtAzul">
                                    <asp:Label ID="Label5" runat="server" Text='<%#String.Format("{0}", Eval("bairro")) %>'></asp:Label>
                                </span>
                                <br />
                                <span class="txtCinza">
                                <asp:Label ID="Label3" runat="server" Text='<%#Eval("idImovelCatVO.imovelCat") %>'></asp:Label>
                                /
                                <asp:Label ID="Label4" runat="server"  Text='<%#Eval("idImovelCatVO.idImovelTipoVO.imovelTipo") %>'></asp:Label>
                                </span>
                                <br />
                                <span class="txtAzul">
                                    <asp:Label ID="Label2" runat="server" Text='<%#String.Format("{0:C}", Eval("vlrVda")) %>'></asp:Label>
                                </span>
                            </div>
                            <div style="float: right; margin-top: -20px; margin-right: -5px;">
                                    <img id='<%#Eval("PKString") %>' src="App_Themes/site/images/btDetalhe.png" border="0" />        
                            </div>
                        </div>
                    </asp:HyperLink>
                </ItemTemplate>
            </asp:Repeater>
            </td></tr>
            <tr><td>
            <div class="tituloSemSeta"></div>
            </td></tr></table>
        <br />
            <br />
        </asp:View>
        <asp:View ID="vResultadoSem" runat="server">
            <span class="txtAzul16">
                Nenhum Im&oacute;vel Encontrado!
            </span>
            <div class="tituloSemSeta"></div>
        </asp:View>
    </asp:MultiView>


</asp:Content>
